package com.powernode.constant;

/**
 * @Author 梁卓
 * @Version 1.0
 * @ClassName ResourceConstants
 * @Description 资源常量类
 * @Date 2024/07/21 15:01
 */
public class ResourceConstants {
    /**
     * 允许访问的资源路径
     */
    String[] RESOURCE_ALLOW_URLS = {
            // swagger
            "/v2/api-docs",
            "/v3/api-docs",
            //用来获取支持的动作
            "/swagger-resources/configuration/ui",
            //用来获取api-docs的URI
            "/swagger-resources",
            //安全选项
            "/swagger-resources/configuration/security",
            "/webjars/**",
            "/swagger-ui/**",
            "/druid/**",
            "/actuator/**"
    };
}
